<?php return array (
  'package' => 
  array (
    'type' => 'module',
    'name' => 'country',
    'version' => '4.3.0',
    'path' => 'application/modules/Country',
    'title' => 'Country',
    'description' => 'Country profile page',
    'author' => 'iDragon Solution Co., Ltd',
    'callback' => 
    array (
      'class' => 'Engine_Package_Installer_Module',
    ),
    'actions' => 
    array (
      0 => 'install',
      1 => 'upgrade',
      2 => 'refresh',
      3 => 'enable',
      4 => 'disable',
    ),
    'directories' => 
    array (
      0 => 'application/modules/Country',
    ),
    'files' => 
    array (
      0 => 'application/languages/en/country.csv',
    ),
  ),
  'routes' => array(
        'country_general' => array(
            'route' => 'countries/:action/*',
            'defaults' => array(
                'module' => 'country',
                'controller' => 'index',
                'action' => 'index',
            ),
            'reqs' => array(
                'controller' => '\D+',
                'action' => '\D+',
            )
        ),
        
		'country_profile' => array(
          'route' => 'country/:id/*',
          'defaults' => array(
            'module' => 'country',
            'controller' => 'index',
            'action' => 'view',
          ),
          'reqs' => array(
            'id' => '\d+',
          )
        ),
		
        'country_profile_name' => array(
          'route' => 'country/:id/:name/*',
          'defaults' => array(
            'module' => 'country',
            'controller' => 'index',
            'action' => 'view',
          ),
          'reqs' => array(
            'id' => '\d+',
			'name' => '\d+'
          )
        ),
        
  ),
   'hooks' => array(
    array(
      'event' => 'onUserCreateAfter',
      'resource' => 'Country_Plugin_SetParam',
    ),
  ),
  'items'	=>	array (
        'song',
        'introducemedia',
        'country_poll',
        'pollvote',
        'polloption',
	    'country_field',
        'country',
	    'country_country',
        'country_countryfield',
        'countrymember',
        'country_song',
  		'country_news',
		'country_newscategory'
        
   )
); ?>